package com.yantong.mapper;

import com.yantong.pojo.GoodsPic;
import com.yantong.pojo.GoodsPicExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

public interface GoodsPicMapper {
    long countByExample(GoodsPicExample example);

    int deleteByExample(GoodsPicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodsPic record);

    int insertSelective(GoodsPic record);

    List<GoodsPic> selectByExample(GoodsPicExample example);

    GoodsPic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodsPic record, @Param("example") GoodsPicExample example);

    int updateByExample(@Param("record") GoodsPic record, @Param("example") GoodsPicExample example);

    int updateByPrimaryKeySelective(GoodsPic record);

    int updateByPrimaryKey(GoodsPic record);

    GoodsPic getIszhutihuakuang(Long centreId);

    int countByParams(Map<String, Object> params);

    List<GoodsPic> listByParams(Map<String, Object> params, RowBounds rowBounds);
}